FROM debian:13.1-slim
ENV TZ=Asia/Shanghai
ADD  sbcl-2.5.9-x86-64-linux-binary.tar.bz2 /usr/local/
WORKDIR /usr/local/sbcl-2.5.9-x86-64-linux
RUN chmod +x install.sh && sh install.sh
CMD ["sbcl"]

# https://www.sbcl.org/manual/index.html
# https://common-lisp.net/downloads
# apt install bzip2 -y
# bzip2 -cd sbcl-2.5.9-x86-linux-binary.tar.bz2 | tar xvf -
# cd sbcl-2.5.9-x86-linux
# sh install.sh


# docker build -t registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lisp:sbcl-2.5.9 .
# docker push registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lisp:sbcl-2.5.9
# docker run registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lisp:sbcl-2.5.9
# docker run --rm -it registry.cn-hangzhou.aliyuncs.com/xiaoyilin/lisp:sbcl-2.5.9 bash


# Lisp两个流行的开源程序
# 1.Steel Bank Common Lisp(SBCL) https://www.sbcl.org/
# 2.Clozure Common Lisp(CCL)获取Clozure CL通过GitHub发布。https://github.com/Clozure/ccl/tags